package entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 处方表(Prescription)实体类
 *
 * @author makejava
 * @since 2025-03-14 12:19:33
 */
public class Prescription implements Serializable {
    private static final long serialVersionUID = 653805060988850119L;
    /**
     * 检查编号
     */
    private Integer examId;
    /**
     * 病人编号
     */
    private Integer patientId;
    /**
     * 开处方的科室编号
     */
    private Integer depId;
    /**
     * 检查结果
     */
    private String checkResult;
    /**
     * 检查项目编号
     */
    private Integer checkItemId;
    /**
     * 检查日期
     */
    private Date examDate;

    private Department department;

    private CheckItem checkItem;

    public Prescription() {
    }

    public Prescription(Integer examId, Integer patientId, Integer depId, String checkResult, Integer checkItemId, Date examDate) {
        this.examId = examId;
        this.patientId = patientId;
        this.depId = depId;
        this.checkResult = checkResult;
        this.checkItemId = checkItemId;
        this.examDate = examDate;
    }

    public Integer getExamId() {
        return examId;
    }

    public void setExamId(Integer examId) {
        this.examId = examId;
    }

    public Integer getPatientId() {
        return patientId;
    }

    public void setPatientId(Integer patientId) {
        this.patientId = patientId;
    }

    public Integer getDepId() {
        return depId;
    }

    public void setDepId(Integer depId) {
        this.depId = depId;
    }

    public String getCheckResult() {
        return checkResult;
    }

    public void setCheckResult(String checkResult) {
        this.checkResult = checkResult;
    }

    public Integer getCheckItemId() {
        return checkItemId;
    }

    public void setCheckItemId(Integer checkItemId) {
        this.checkItemId = checkItemId;
    }

    public Date getExamDate() {
        return examDate;
    }

    public void setExamDate(Date examDate) {
        this.examDate = examDate;
    }

    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public CheckItem getCheckItem() {
        return checkItem;
    }

    public void setCheckItem(CheckItem checkItem) {
        this.checkItem = checkItem;
    }
}

